﻿using Admin2024.Application.Contracts.User.Dto;
using Admin2024.Domain.Entity.System;
using Admin2024.Domain.ObjValue;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Admin2024.Application.Contracts.User
{
    public interface IUserServer
    {
        //登录
        Task<DomainResult<LoginSucessDto>> Login(string username, string password);
        //登出
        Task<DomainResult<AppUser>> Logout();
        //注册
        Task<DomainResult<RegSucceedDto>> Register(string username, string password, string ConfirmPassword);
    }
}
